package cn.yh.st.admin.web;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.yh.st.core.service.TestDemoService;

@Controller
public class TestController {

	@Resource
	private TestDemoService testDemoService;

	@RequestMapping("test")
	public String test() {
		testDemoService.getByName(1);
		return "test";
	}

}
